﻿using System.Drawing;

namespace Codingly.SvnExternalUpdater.Services
{
    public class UserConfiguration
    {
        private static UserConfiguration _defaultConfiguration;

        public static UserConfiguration Default
        {
            get
            {
                if (_defaultConfiguration == null)
                {
                    _defaultConfiguration = new UserConfiguration
                                                {
                                                    MainWindowSize = new Size(600, 650),
                                                    MainWindowLocation = new Point(100, 100)
                                                };
                }
                return _defaultConfiguration;
            }
        }

        public Size MainWindowSize { get; set; }
        public Point MainWindowLocation { get; set; }
    }
}